emoji chooser: Fix incremental loading
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Dec 2020 15:58:24 +0000 (10:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Dec 2020 16:09:43 +0000 (11:09 -0500)
commitf0f64f42eebeee887cfc65b14cc11404abb69295
treeaec027540d17fb2c2d8f057bf002e80a9dd52931
parentd278afc85b3355ab8e5e4fd14705e0685f05a9c6
emoji chooser: Fix incremental loading

This broke when we started using GDK_PROFILER_CURRENT_TIME for
timekeeping - that gets defined to 0 when we're building without
sysprof, so we can use it to make such determinations. Go back
to using g_get_monotonic_time().

Fixes: #3438
gtk/gtkemojichooser.c